package com.example.es.restclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.es.restclient.pojo.Hotel;
import com.example.es.restclient.pojo.PageResult;
import com.example.es.restclient.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface HotelService extends IService<Hotel> {
	PageResult search(RequestParams params);
	Map<String, List<String>> filters(RequestParams params);


	List<String> getSuggestion(String key);

	void insertById(Long id);

	void deleteById(Long id);
}
